<?php
/*
01.Configuring the Laravel environment
	app/bootstrap/start.php
	$env = $app->detectEnvironment(array(
		'local' => array('computername'),
		'dev' => array('http://dev.example.com'),
		'live' => array('http://example.com'),
	));
	
	You can also detect which environment you are in:
	$environment = App::environment();
---------- ---------- ---------- ---------- ---------- ----------
02.Configuring the application
	app/config/app.php
	'key' is used by Laravel 4 to encrypt things such as passwords and cookies. 
	You can generate it via the artisan command
---------- ---------- ---------- ---------- ---------- ----------
03.Maintenance mode
	we can now switch on or off the maintenance mode. 
	To enable the maintenance mode:
	$ php artisan down
	To disable the maintenance mode:
	$ php artisan up
---------- ---------- ---------- ---------- ---------- ----------
04.Pretend send mail when creating a password reset
	in app/config/mail.php
	set 'pretend' => true,
	This will act as if the application is sending email, though it just skips that step.
---------- ---------- ---------- ---------- ---------- ----------
05.Command	
	$ php artisan command:make EnvironmentCommand
	we need to register them with Artisan from app/start/artisan.php
	Artisan::add(new EnvironmentCommand);
	$ php artisan environment
	
	
	
	
	
	
	
	